<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 83 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts83p0{position:absolute;left:106px;top:97px;}
 .ts83p1{position:absolute;left:352px;top:97px;}
 .ts83p3{position:absolute;left:672px;top:97px;}
 .ts83p7{position:absolute;left:106px;top:113px;}
 .ts83p8{position:absolute;left:706px;top:1026px;}
 .ts83p9{position:absolute;left:331px;top:1044px;}
 .ts83p13{position:absolute;left:106px;top:146px;}
 .ts83p15{position:absolute;left:106px;top:164px;}
 .ts83p17{position:absolute;left:106px;top:183px;}
 .ts83p18{position:absolute;left:106px;top:201px;}
 .ts83p20{position:absolute;left:106px;top:238px;}
 .ts83p22{position:absolute;left:106px;top:256px;}
 .ts83p23{position:absolute;left:106px;top:275px;}
 .ts83p24{position:absolute;left:106px;top:293px;}
 .ts83p25{position:absolute;left:106px;top:312px;}
 .ts83p27{position:absolute;left:106px;top:330px;}
 .ts83p28{position:absolute;left:106px;top:348px;}
 .ts83p29{position:absolute;left:106px;top:367px;}
 .ts83p31{position:absolute;left:106px;top:385px;}
 .ts83p32{position:absolute;left:106px;top:404px;}
 .ts83p33{position:absolute;left:106px;top:422px;}
 .ts83p35{position:absolute;left:106px;top:440px;}
 .ts83p36{position:absolute;left:106px;top:459px;}
 .ts83p37{position:absolute;left:106px;top:477px;}
 .ts83p39{position:absolute;left:106px;top:496px;}
 .ts83p40{position:absolute;left:106px;top:514px;}
 .ts83p41{position:absolute;left:106px;top:532px;}
 .ts83p43{position:absolute;left:106px;top:551px;}
 .ts83p44{position:absolute;left:106px;top:569px;}
 .ts83p46{position:absolute;left:106px;top:588px;}
 .ts83p47{position:absolute;left:106px;top:606px;}
 .ts83p49{position:absolute;left:106px;top:643px;}
 .ts83p51{position:absolute;left:106px;top:661px;}
 .ts83p52{position:absolute;left:106px;top:680px;}
 .ts83p53{position:absolute;left:106px;top:698px;}
 .ts83p55{position:absolute;left:106px;top:716px;}
 .ts83p56{position:absolute;left:106px;top:735px;}
 .ts83p57{position:absolute;left:106px;top:750px;}
 .ts83p60{position:absolute;left:106px;top:769px;}
 .ts83p65{position:absolute;left:106px;top:790px;}
 .ts83p67{position:absolute;left:106px;top:808px;}
 .ts83p68{position:absolute;left:106px;top:827px;}
 .ts83p70{position:absolute;left:106px;top:864px;}
 .ts83p71{position:absolute;left:106px;top:882px;}
 .ts83p73{position:absolute;left:106px;top:900px;}
 .ts83p74{position:absolute;left:106px;top:919px;}
 .ts83p75{position:absolute;left:106px;top:937px;}
 .ts83p77{position:absolute;left:106px;top:956px;}
 .ts83p78{position:absolute;left:106px;top:974px;}
 .ts83p79{position:absolute;left:552px;top:237px;}
 .ts83p81{position:absolute;left:552px;top:249px;}
 .ts83p82{position:absolute;left:552px;top:261px;}
 .ts83p83{position:absolute;left:552px;top:274px;}
 .ts83p84{position:absolute;left:552px;top:286px;}

 /* Font Styles */
 .ft0p83{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p83{font-weight:normal;}
 .ft2p83{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p83{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p83{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p83{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p83{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft7p83{font-size:11px;}
 .ft8p83{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#FFFFFF;}
 .ft9p83{font-style:normal;font-weight:normal;font-size:11px;font-family:arial,sans-serif;color:#000000;}

 /* Background Style */
 .styleBackground83{position:absolute;left:105px;top:237px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index82.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;83 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index84.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground83><img src="./background83.png" width="633" height="818" border="0" alt=""></div>
<div class=ts83p0><span class="ft0p83"> </span></div>
<div class=ts83p1><span class="ft0p83">Gravitybox Schedule Primer<span class="ft1p83"> </span></span></div>
<div class=ts83p3><span class="ft0p83">Page 81&nbsp; </span></div>
<div class=ts83p7><span class="ft2p83"> </span></div>
<div class=ts83p8><span class="ft3p83"> </span></div>
<div class=ts83p9><span class="ft4p83">1998&#45;2004 Gravitybox Software LLC<span class="ft3p83"> </span></span></div>
<div class=ts83p13><span class="ft5p83">refreshed. This will move the schedule to the desired position before it redraws the </span></div>
<div class=ts83p15><span class="ft5p83">screen. </span></div>
<div class=ts83p17><span class="ft5p83"> </span></div>
<div class=ts83p18><span class="ft6p83">IsEnabledAreaByValues </span></div>
<div class=ts83p20><span class="ft5p83">The &#147;IsEnabledAreaByValues&#148; method will take differing </span></div>
<div class=ts83p22><span class="ft5p83">parameters depending on the display options of the </span></div>
<div class=ts83p23><span class="ft5p83">schedule and return to you the availability of a particular </span></div>
<div class=ts83p24><span class="ft5p83">area. To start, you specify the date, room, and time for </span></div>
<div class=ts83p25><span class="ft5p83">which an appointment starts. Also provide as a parameter the length of the area to </span></div>
<div class=ts83p27><span class="ft5p83">check. These four parameters define a definite area. The method checks to determine if </span></div>
<div class=ts83p28><span class="ft5p83">any part of this area is inside of an existing appointment. It returns a Boolean value </span></div>
<div class=ts83p29><span class="ft5p83">indicating this determination. This is an iterative algorithm, so the longer the specified </span></div>
<div class=ts83p31><span class="ft5p83">length, then longer it takes to execute. There may be times that you wish to only check </span></div>
<div class=ts83p32><span class="ft5p83">the time component of availability. If so the last parameter allows you specify a Boolean </span></div>
<div class=ts83p33><span class="ft5p83">value indicating whether you wish to check time only. When this parameter is true all </span></div>
<div class=ts83p35><span class="ft5p83">other criteria are ignored. A good place to use this function is in the BeforeMove, </span></div>
<div class=ts83p36><span class="ft5p83">BeforeCopy, or even the DragOverScheduleItem schedule. You will probably only use </span></div>
<div class=ts83p37><span class="ft5p83">this method in very customized situations since it is built in to the dragging process. </span></div>
<div class=ts83p39><span class="ft5p83">When you move or copy an appointment, the Conflicts collection is checked </span></div>
<div class=ts83p40><span class="ft5p83">automatically and prompts the user if the ConflictWarn property is true. Remember that </span></div>
<div class=ts83p41><span class="ft5p83">the Conflicts collection is only checked and updated automatically if the schedule&#146;s </span></div>
<div class=ts83p43><span class="ft5p83">ConflictCheck property is true. If you do not care about conflicts, you may turn this </span></div>
<div class=ts83p44><span class="ft5p83">feature off for faster execution. </span></div>
<div class=ts83p46><span class="ft5p83"> </span></div>
<div class=ts83p47><span class="ft6p83">GetScheduleItemFromCor </span></div>
<div class=ts83p49><span class="ft5p83">This method will return the first appointment that it finds under the specified coordinates. </span></div>
<div class=ts83p51><span class="ft5p83">Given an X and Y coordinate in pixels, this method will check the ScheduleItems </span></div>
<div class=ts83p52><span class="ft5p83">collection to determine the appointment that is scheduled for the date, time, and/or room </span></div>
<div class=ts83p53><span class="ft5p83">to which these coordinates map. Keep in mind that there may be more than one. If there </span></div>
<div class=ts83p55><span class="ft5p83">is a conflict with two appointments scheduled for the exact same date, time, and room, </span></div>
<div class=ts83p56><span class="ft5p83">only the first appointment is returned. The first appointment position is defined by its </span></div>
<div class=ts83p57><span class="ft5p83">order in the ScheduleItems collection. If one appointment was the 17<span class="ft7p83">th</span> element in the </span></div>
<div class=ts83p60><span class="ft5p83">collection and the other conflicting appointment was the 57<span class="ft7p83">th</span> element, then the 17<span class="ft7p83">th</span> </span></div>
<div class=ts83p65><span class="ft5p83">element would be returned. </span></div>
<div class=ts83p67><span class="ft5p83"> </span></div>
<div class=ts83p68><span class="ft6p83">EnforceTimeLimits </span></div>
<div class=ts83p70><span class="ft5p83">This property ensures that the default dialog will not allow not allow the user to create </span></div>
<div class=ts83p71><span class="ft5p83">an appointment not defined by the time area boundaries. The StartTime and DayLength </span></div>
<div class=ts83p73><span class="ft5p83">properties define the display times of a schedule. When EnforceTimeLimits is set to </span></div>
<div class=ts83p74><span class="ft5p83">true, the user may not set an appointment's StartTime or duration to a value outside of </span></div>
<div class=ts83p75><span class="ft5p83">this defined area. When false, the user may set the time to any value. This all is part of </span></div>
<div class=ts83p77><span class="ft5p83">the default property dialog for an appointment. In code you may of course set the start </span></div>
<div class=ts83p78><span class="ft5p83">time and length of an appointment to any value you wish. This property is provided for </span></div>
<div class=ts83p79><span class="ft8p83">Quick Tip </span></div>
<div class=ts83p81><span class="ft9p83">You may check an area&#146;s availability </span></div>
<div class=ts83p82><span class="ft9p83">by using the IsEnabledAreaByValues </span></div>
<div class=ts83p83><span class="ft9p83">method. This will ensure that there </span></div>
<div class=ts83p84><span class="ft9p83">are no conflicts for an area. </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
